<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        if(!check_admin_login()){
            redirect('/admin.php/Login/index', 1, '<h3>login timeout...</h3>');
            return ;
        }
        $this->display();
    }
}